package com.xiaojun.whut.Controller.App;

import com.xiaojun.whut.Entity.User;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/app")
public class TestAppController {
    @GetMapping(path = "/admin/test")
    public Object admin(){
        System.out.println("admin");
        return "admin";

    }
    @GetMapping(path = "/user/test")

    public Object user(){
        System.out.println("user");
        return "user";

    }
}
